/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Engine2D.network;

import java.io.IOException;
import java.net.Socket;

/**
 *
 * @param <E> 
 * @author Garys
 */
public interface SessionCreator<E extends Session> {

    /**
     * 
     * @param socket
     * @return
     * @throws IOException
     */
    public E create(Socket socket) throws IOException;
    
}
